<template>
    <div id="publicMsg">
        <headenav/>
        <div class="body-box"></div>
    </div>
</template>

<script>
    import headenav from "../../components/headenav/index"
    import {get_mouth_count} from "../../api/publicMsg"

    export default {
        name: "index",
        components: {
            headenav
        },
        methods: {
            async get_mouth_count() {
                const res = await get_mouth_count()
                console.log(res);
            }
        }
        , created() {
            this.get_mouth_count()
        }
    }
</script>

<style scoped lang="scss">
    #publicMsg {
        color: #d3d6dd;
        background-color: #000000;
        width: 100%;
        height: 100%;

        .body-box {
            margin-top: 0.2rem;
            display: flex;
            flex-direction: column;
        }
    }
</style>